package com.camel.iamhi.base;

import com.camel.iamhi.entities.BaseEntity;

import java.util.List;

public class Page<T extends BaseModel> {
    private List<T> list;

    private int total;

    private int page;

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }
}
